<template>
    <div>header === {{ route.params.id }}</div>
</template>

<script setup lang="ts">
const route = useRoute()
console.log('route', route.params.id)
</script>